Class TokenAuthenticate

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.netscape.cms.servlet.base.CMSServlet
com.netscape.cms.servlet.csadmin.TokenAuthenticate
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
CATokenAuthenticate, CATokenAuthenticateAdmin, KRATokenAuthenticateAdmin

public class TokenAuthenticate extends CMSServlet
See Also:
  • Field Details

    • logger

      public static org.slf4j.Logger logger
  • Constructor Details

    • TokenAuthenticate

      public TokenAuthenticate()
  • Method Details

    • init

      public void init(javax.servlet.ServletConfig sc) throws javax.servlet.ServletException
      initialize the servlet.
      Specified by:
      init in interface javax.servlet.Servlet
      Overrides:
      init in class CMSServlet
      Parameters:
      sc - servlet configuration, read from the web.xml file
      Throws:
      javax.servlet.ServletException
    • process

      protected void process(CMSRequest cmsReq) throws Exception
      Process the HTTP request.
      Overrides:
      process in class CMSServlet
      Parameters:
      cmsReq - the object holding the request and response information
      Throws:
      Exception
    • renderResult

      protected void renderResult(CMSRequest cmsReq) throws IOException
      Description copied from class: CMSServlet
      Output a template. If an error occurs while outputing the template the exception template is used to display the error.
      Overrides:
      renderResult in class CMSServlet
      Parameters:
      cmsReq - the CS request
      Throws:
      IOException
    • getLocale

      protected Locale getLocale(javax.servlet.http.HttpServletRequest req)
      Retrieves locale based on the request.
      Overrides:
      getLocale in class CMSServlet